import React from 'react';
import { HashRouter, Route, Switch } from 'react-router-dom';
import Login from './pages/login/login';
import Home from './pages/home/home';
import Me from './pages/me/me';
// BrowserRouter ----- HashRouter
const BasicRoute = () => (
    <HashRouter>
		<Switch>
			<Route exact path="/" component={Login}/>
			<Route exact path="/home" component={Home}/>
			<Route exact path="/me" component={Me}/>
		</Switch>
    </HashRouter>
);
export default BasicRoute;